﻿using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Yqd.Enm;

namespace Yqd.Models
{
    public class Yqd_PlanSchedule
    {
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public int ScheduleID { get; set; }

        [DisplayName("任务编号")]
        public long TaskID { get; set; }

        [DisplayName("事项编号（钉办督导编号、协同管理编号")]
        public int ItemID { get; set; }

        [DisplayName("事项类型（钉办督到、协同管理）")]
        public 事项类型 ItemType { get; set; }

        [DisplayName("交办编号")]
        public int AssignID { get; set; }

        [DisplayName("工作计划编号")]
        public int PlanID { get; set; }

        [DisplayName("工作进展")]
        public string Content { get; set; }

        [DisplayName("创建时间")]
        public DateTime Instime { get; set; }

        [DisplayName("创建者")]
        [StringLength(50)]
        public string EmployeeCode { get; set; }

        [DisplayName("部门")]
        [StringLength(50)]
        public string UnitCode { get; set; }
    }
}
